package com.neusoft.neuiotms.dcom.repository.change;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.change.ChangeAssignment;

public interface ChangeAssignmentRepository
        extends JpaRepository<ChangeAssignment, Long>, CustomizedChangeAssignmentRepository {

    ChangeAssignment findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    void deleteByWorkOrderNum(String workOrderNum);

    ChangeAssignment findByWorkOrderNum(String workOrderNum);
}
